package org.kiwi.job.orm.service;

import org.kiwi.job.orm.model.JobModel;

import java.util.List;

/**
 * Created by jack on 17/2/14.
 */
public interface JobService {

    int create(JobModel JobModel);

    int createSelective(JobModel JobModel);

    JobModel findByPrimaryKey(Long id);

    int updateByPrimaryKey(JobModel JobModel);

    int updateByPrimaryKeySelective(JobModel JobModel);

    int deleteByPrimaryKey(Long id);

    int selectCount(JobModel JobModel);

    List<JobModel> findAllJob();

    JobModel findByJobCode(String jobCode);
}
